<?php include('includes/config.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script src="js/dialog.js"></script>
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
<link rel="shortcut icon" href="images/favicon.ico">
<title>B-Social - <?php if($_SESSION[user.online] == "1"){echo $_SESSION[user.name].' '.$_SESSION[user.surname]; }else{echo 'Welcome'; }?></title>
</head>

<body>
<center>
<div id="top"><a href="home"><img src="images/logo.png" /></a><?php include ('includes/search.php'); include ('includes/userfunctions.php'); ?></div>
<div id="content"><table width="100%"><tr><td align="left" valign="top" width="300"><?php include $lcontent; ?></td><td align="center" valign="top" style="border-right: 1px solid #a9a9a9;"><?php include $content; ?></td><td align="right" valign="top" width="140"><img src="images/j&gadd.png" /></td></tr></table></div>
</center>
</body> 
</html>